package com.tio.demo;

import org.tio.core.intf.Packet;

/**
 * Author      : liyuemin
 * Time        : 2017/12/13 18:24
 * Description :
 */
public class HelloPacket  extends Packet{
    private static final long serialVersionUID = -172060606924066412L;
    public static final int HEADER_LENGTH= 4;
    public static final String CHARSTER = "utf-8";

    private byte[] body;//消息体

    public byte[] getBody() {
        return body;
    }

    public void setBody(byte[] body) {
        this.body = body;
    }
}
